/**
 * @Author: 陈瑞鹏
 * @Date:   2023-01-07 09:50:00
 * @Last Modified by:   陈瑞鹏
 * @Last Modified time: 2023-01-11 13:54:48
 */
import mongoose from "mongoose";

const Schema = mongoose.Schema;
const ExchangeLogSchema: mongoose.Schema = new Schema({
  roleId: { type: Number, display: "角色id", index: true },
  id: { type: String, display: "兑换码id" },
  createTime: { type: String, display: '创建时间' },
}).index({ roleId: 1 });

const ExchangeLog = mongoose.model('ExchangeLog', ExchangeLogSchema);
export default ExchangeLog;